//
//  RoskildeappAppDelegate.h
//  Roskildeapp
//
//  Created by My Name on 10/23/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@class SegmentsController;

@interface RoskildeappAppDelegate : NSObject <UIApplicationDelegate>{
    UISegmentedControl *segmentedControlReceived;
    SegmentsController *reeivedSegmentsController;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;

@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (nonatomic,retain) NSDateFormatter *dateFormatter;
@property (nonatomic,retain) UISegmentedControl *segmentedControlReceived;
@property (nonatomic, retain) SegmentsController *receivedSegmentsController;
@property (nonatomic,retain) UISegmentedControl *segmentedControlSent;
@property (nonatomic, retain) SegmentsController *sentSegmentsController;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;

@end
